package com.itheima.stringjoinerdemo;

import java.util.StringJoiner;

public class StringJoinerDemo01 {
    public static void main(String[] args) {
        StringJoiner joiner = new StringJoiner("----");
        joiner.add("aaa").add("bbb").add("ccc");
        System.out.println(joiner.toString());
    }
}
